package com.woniuxy.meal.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.ArrayList;

@Data
@ApiModel("提交购物车信息参数对象")
public class SubmitCartForm {
    @NotNull
    @ApiModelProperty("商铺id")
    private Long storeId;
    @ApiModelProperty("商铺名称")
    private String storeName;
    @NotNull
    @ApiModelProperty("订单中所有食品id")
    private ArrayList<Long> foodIds;
    @ApiModelProperty("配送方式 1：堂食 2：外送")
    private Integer dispatching;
}
